<?php
/**
 * eBay Label Printing Program Article Section Form Class 
 * This is a Form Class , it provide the quick sign up Form 
 * @package  eBayLabelPrinter
 * @category Forms
 * @author   Norman Dong <norman.dong@hotmail.com>
 * @version  Initial
 * @copyright LeadCasket.com
 * @link     www.leadcasket.com
 * @license  Commercial
 * @todo   At the moment , this is NO validuator at all , I assue all input is correct
 */
class Form_Cms_Articlesection extends Zend_Form
{
	/**
	 * Form construct function 
	 * Form have The following Elements 
	 * Section Name & Position  
	 */
	
    public function __construct($options = null){

		parent::__construct($options);
		
		$sectionID = new Zend_Form_Element_Text('id_section_article');
		$sectionID->setLabel('Section ID');

		$sectionName = new Zend_Form_Element_Text('title_section_article');
		$sectionName->setLabel('Section Name');
		
		$sectionPosition = new Zend_Form_Element_Text('position_section_article');
		$sectionPosition->setLabel('Section Position');
		
		$available = new Zend_Form_Element_Text('available_section_article');
		$available->setLabel('Available');
		
		$submit = new Zend_Form_Element_Submit('submit');
        $submit->setAttrib('id', 'submitbutton');

        $this->addElements(array($sectionID,$sectionName,$sectionPosition,$available,$submit));
		}
	}